package com.bt.mes.brm.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.bt.mes.common.util.GUIDGenerator16;

@Controller
public class UUIDController {

	@RequestMapping("generaUUID.do")
	@ResponseBody
	public String generaUUID(){
		return GUIDGenerator16.generateGUID(16);
//		return GUIDGenerator.javaGUID();
	}
	public static void main(String[] args) {
		System.out.println(GUIDGenerator16.generateGUID(16));
	}
}
